projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fce1eed
)
Remove the switch location timer during drag_leave
author
Federico Mena Quintero
<federico@gnome.org>
Sat, 20 Apr 2013 20:21:33 +0000
(16:21 -0400)
committer
Federico Mena Quintero
<federico@gnome.org>
Sat, 20 Apr 2013 20:21:33 +0000
(16:21 -0400)
So that hovering in and out of the sidebar quickly doesn't cause a location change in the caller.
gtk/gtkplacessidebar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacessidebar.c
b/gtk/gtkplacessidebar.c
index b419eac18dc240a90f466b0ab977ad022de926b6..677f2cfe538888da47f0a6a88738dd25bf9cb453 100644
(file)
--- a/
gtk/gtkplacessidebar.c
+++ b/
gtk/gtkplacessidebar.c
@@
-1688,6
+1688,8
@@
drag_leave_callback (GtkTreeView *tree_view,
sidebar->drag_leave_timeout_id = gdk_threads_add_timeout (500, drag_leave_timeout_cb, sidebar);
+ remove_switch_location_timer (sidebar);
+
g_signal_stop_emission_by_name (tree_view, "drag-leave");
}